package com.java110.mall.chain.supplier.adaper.jd;

import com.java110.mall.chain.supplier.ISupplierAdapter;
import com.java110.dto.chain.ChainSupplierProductDto;
import com.java110.dto.chain.ChainSupplierDto;
import com.java110.dto.storeOrder.StoreOrderDto;
import com.java110.dto.storeOrder.StoreOrderCartDto;
import com.java110.vo.ResultVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 京东 供应商 对接适配类
 */
@Component
public class JdSupplierAdapter implements ISupplierAdapter {
    @Override
    public ResultVo validateChainOrder(StoreOrderDto storeOrderDto, List<StoreOrderCartDto> storeOrderCartDtos, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    }

    @Override
    public ResultVo notifyChainOrder(StoreOrderDto storeOrderDto, List<StoreOrderCartDto> storeOrderCartDtos, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    }

    @Override
    public ResultVo queryProducts(ChainSupplierProductDto chainSupplierProductDto, ChainSupplierDto chainSupplierDto) throws Exception {
        return null;
    }


    /**
     * <p>查询单个商品信息</p>
     *
     *
     * @param chainSupplierProductDto  订单调用链数据
     * @return RoomDto 对象数据
     */
    @Override
    public ResultVo querySingleProduct(ChainSupplierProductDto chainSupplierProductDto, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    };


    /**
     * <p>获取评论信息</p>
     *
     *
     * @param chainSupplierProductDto  订单调用链数据
     * @return RoomDto 对象数据
     */
    @Override
    public ResultVo queryComments(ChainSupplierProductDto chainSupplierProductDto, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    };


    /**
     * <p>查询物流信息</p>
     *
     *
     * @param chainSupplierProductDto  订单调用链数据
     * @return RoomDto 对象数据
     */
    @Override
    public ResultVo queryLogisticsInfo(ChainSupplierProductDto chainSupplierProductDto, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    };

    /**
     * <p>将供应链商品信息写入店铺信息</p>
     *
     *
     * @param chainSupplierProductDto
     * @return RoomDto 对象数据
     */
    @Override
    public ResultVo insertSingleProduct(ChainSupplierProductDto chainSupplierProductDto, ChainSupplierDto chainSupplierDto) throws Exception{
        return null;
    }

    @Override
    public ResultVo callBackChainProduct(String param,ChainSupplierDto tmpChainSupplierDto) {
        return null;
    }

    ;

}
